package exams.thread.assessment.test1.ex03;
public class Fabric extends Thread {  
	   public static void main(String[] args) {   
	     Thread t = new Thread(new Fabric()); 
	     Thread t2 = new Thread(new Fabric()); 
	     t.start();    
	     t2.start(); 
	   } 
	   public  void run() { 
	     for(int i = 0; i < 2; i++)   
	       System.out.print(Thread.currentThread().getName() + " "); 
	   } 
	 }